from random import randint
red_balls = []
while len(red_balls) != 6:
    red_ball = randint(1,33)
    if red_ball not in red_balls:
        red_balls.append(red_ball)

blue_ball = randint(1,16)

red_balls.sort()

print("红球：",red_balls)
print("篮球：",blue_ball)
